﻿using System.Collections.Generic;
using ZilLion.Service.Core.ConfigManager.Attribute;
using ZilLion.Service.Core.ConfigManager.Provider;

namespace ZilLion.Service.Core.Infrastructure
{
    [ConfigurationArgument(typeof(WebApiAppConfig), typeof(JsonConfigProvider))]
    public class WebApiAppConfig
    {
        /// <summary>
        ///     包含的模块
        /// </summary>
        public IList<string> WebModules { get; set; }


        public string JwtSecretKey { get; set; }

        /// <summary>
        ///     是否开启日志跟踪
        /// </summary>
        public bool TraceEnable { get; set; }

        /// <summary>
        ///     是否初始SwagerEnable页面
        /// </summary>
        public bool SwagerEnable { get; set; }
    }
}